<?php
require_once 'includes/includes.php';
conexion();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php titulo(); ?></title>

<?php require_once 'includes/head.php'; ?>

<link rel="stylesheet" href="plugins/vSlider/css/vslider.css" />
<link rel="stylesheet" href="plugins/slideViewer/css/slideviwer.css" />

<script type="text/javascript" src="plugins/jquery.js" ></script>

<script type="text/javascript" src="plugins/vSlider/js/jquery.vslider.js" ></script>
<script src="plugins/slideViewer/sliderviewer.js" type="text/javascript"></script>
<script src="plugins/slideViewer/jquery-easing.js" type="text/javascript"></script>



 <script type="text/javascript">
	$(function(){
	$("#slide").vSlider({time:6000, 
		effect:9, 
		maskInduration:30, 
		maskOutduration:10,
		width:470,
		height:350
			
		});
	});
</script>

<script type="text/javascript">
	$(window).bind("load", function() {
	$("div#mygalone").slideView({
		toolTip: true, 
		ttOpacity: 0.5,
		easeFunc: "easeInOutSine",
		easeTime: 2200


		
		})
});
</script>


</head>

<body>
<div id="wrapper">

	<?php require_once 'includes/encabezado.php'; ?>
	<!-- end #header -->
	
	
	
		
		<div id="sidebarleft">				
			<?php require 'includes/sidebar.php'; ?>
		</div>
	
		<div id="content">
		
		
		<?php 
		
		$id=sqlint($_GET['id']);# Limpio la variable por SQLi
			$querynew=mysql_query("select * from transparents where id=$id");
			
			if(mysql_num_rows($querynew) != 0){	
					
					$rownew = mysql_fetch_array($querynew);
					 				
					$id_news = $rownew['id'];
					$title=$rownew['title'];
					$content=$rownew['content'];					
					$created=$rownew['created'];					
					
					
					$created=explode(" ", $created);
					
					$date=$created[0];
					$time=$created[1];						

					echo '<div class="titulo">';
					
						echo '<strong>'.$title.'</strong>';
						
					echo '</div>';
					
					echo '<div class="fecha">
						'.$date.' | '.$time.' hs. 
					</div>';
					
					echo '<br/>';
					
					echo '<br/>';
					
					echo '<div class="contenttext">';
						echo $content;
					echo '</div>';
					
				}

			?>
		
		
		</div>
		<!-- end #content -->
		
		<div id="sidebarright">		
		<?php
                                require_once 'includes/publicidades.php';
         ?>
                
		</div>
		<!-- end #sidebar -->
		
		
	
	
	<!-- end #page -->
</div>
<div style="clear: both;">&nbsp;</div>
	<div id="footer">
		<?php require_once 'includes/pie.php'; ?>
	</div>
	<!-- end #footer -->
</body>
</html>
